package com.beans;

import java.sql.Timestamp;

public class GoodsInfo {
	private int id;
	private String goodsName; //商品名称
	private float price;//商品价格
	private String unit;//计量单位
	private String des;  //商品备注
	private Integer bigCateId;  //所属大分类id
	private Integer smallCateId;  //所属小分类id
	private String producter;   //商品厂商
	private Timestamp editDate;  //最后一次修改时间  在数据库中他是时间戳类型
	private byte [] pictureData;  //设置一个图片数组类型   来读和取数组
	
	private String bigCateName;   //用来联动大分类名称  数据中商品表没有这个字段
	private String smallCateName;  //用来联动小分类名称  同上
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getDes() {
		return des;
	}
	public void setDes(String des) {
		this.des = des;
	}
	public Integer getBigCateId() {
		return bigCateId;
	}
	public void setBigCateId(Integer bigCateId) {
		this.bigCateId = bigCateId;
	}
	public Integer getSmallCateId() {
		return smallCateId;
	}
	public void setSmallCateId(Integer smallCateId) {
		this.smallCateId = smallCateId;
	}
	public String getProducter() {
		return producter;
	}
	public void setProducter(String producter) {
		this.producter = producter;
	}
	public Timestamp getEditDate() {
		return editDate;
	}
	public void setEditDate(Timestamp editDate) {
		this.editDate = editDate;
	}
	public byte[] getPictureData() {
		return pictureData;
	}
	public void setPictureData(byte[] pictureData) {
		this.pictureData = pictureData;
	}
	public String getBigCateName() {
		return bigCateName;
	}
	public void setBigCateName(String bigCateName) {
		this.bigCateName = bigCateName;
	}
	public String getSmallCateName() {
		return smallCateName;
	}
	public void setSmallCateName(String smallCateName) {
		this.smallCateName = smallCateName;
	}
	
}
